Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Improve playground error message #1420

Closed
wants to merge 43 commits into from

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Mar 5, 2024

Description

This PR improves the error messages in the playground for different feature flags.

Related Issue

Closes #885

Related PR

Closes #197_cloud

aybruhm and others added 30 commits December 1, 2023 19:40
@aakrem
Copy link
Collaborator

aakrem commented Mar 5, 2024

@aybruhm 1 check is failing

@aybruhm aybruhm requested a review from aakrem March 12, 2024 12:09
Copy link
Collaborator

@aakrem aakrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aybruhm
Copy link
Member Author

aybruhm commented Mar 26, 2024

  1. Not working
Screenshot 2024-03-26 at 17 00 31 2. Same comment from the older PR [Enhancement - Improve playground error message and introduce new CLI command for cloudwatch logs #984 (comment)](https://github.com//pull/984#issuecomment-1853885329)

Oh, I see. The issue is with the cli backend client. The last time the backend client was generated, we had the client logic located in agenta-cli/agenta/client/client.py. Now we have it in agenta-cli/agenta/client/backend/client.py, which also has the following structure based on the API tags:.

image

I'll regenerate the cli backend client later today and update the PR. Thanks for catching that.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 5, 2024
Copy link

vercel bot commented May 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2024 0:44am

@aybruhm
Copy link
Member Author

aybruhm commented May 5, 2024

I removed the cli command to retrieve the variant logs. I believe that the viewing experience for the logs is much better directly on the playground than on the cli. Here's what it looks like on the playground:

image

cc: @mmabrouk, @aakrem

@aybruhm
Copy link
Member Author

aybruhm commented May 5, 2024

PR became redundant due to the misleading commit messages. You can find the new PR here: #1611

@bekossy bekossy deleted the gh/issue-885-improve-playground-error-message branch July 9, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Errors when serving a non-functional variant due to null deployment
3 participants